﻿@model IEnumerable<SanQiOther.Models.v_car_detail>
@{
    Layout = null;
}
<table id="roleList3" class="table table-bordered table-striped">
    <thead>
        <tr>
            <th>
                @Html.DisplayNameFor(model => model.id)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.deptmc)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.userbh)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.name)
            </th>

            <th>
                @Html.DisplayNameFor(model => model.sl)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.year)
            </th>

            <th>
                @Html.DisplayNameFor(model => model.month)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.rzsj)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.lzsj)
            </th>
            <th>
                @Html.DisplayNameFor(model => model.islz)
            </th>


            <th>

            </th>
        </tr>
    </thead>
    <tbody>
        @foreach (var item in Model)
        {
            <tr>
                <td>
                    @Html.DisplayFor(modelItem => item.id)
                </td>
                <td>
                    @Html.DisplayFor(modelItem => item.deptmc)
                </td>
                <td>
                    @Html.DisplayFor(modelItem => item.userbh)
                </td>
                <td>
                    @Html.Raw(PubClass.GetLsg(item.isls.ToString())) @Html.DisplayFor(modelItem => item.name)
                </td>
                <td style="color:darkblue">
                    <b> @Html.DisplayFor(modelItem => item.sl)</b>
                </td>
                <td>
                    @Html.DisplayFor(modelItem => item.year)
                </td>
                <td>
                    @Html.DisplayFor(modelItem => item.month)
                </td>
                <td>
                    @Html.DisplayFor(modelItem => item.rzsj)
                </td>
                <td>
                    @Html.DisplayFor(modelItem => item.lzsj)
                </td>
                <td>
                    @Html.Raw(PubClass.GetLz(item.islz.ToString()))
                </td>
                <td>@Html.ActionLink("详细", "Detail", new { id = item.id })</td>
            </tr>
        }
    </tbody>
</table>
